<%@ page contentType="text/html; charset=utf-8"%>
<script>
	try{
		var responseData=${responseData};
		var message="";
		
		if(responseData.success){
			message="数据提交成功";
			if(responseData.msgBody!=null){
				message=responseData.msgBody;
			}
		}else{
			message="数据提交失败";
			if(responseData.msgBody!=null){
				message=message+" [ "+responseData.msgBody+" ] ";
			}
		}
		
		alert(message);
		
		if(responseData.success){
			if(typeof(window.parent.submitCallbackSuccess)=='function'){
				window.parent.submitCallbackSuccess(responseData.extraData);
	    	}
		}else{
			if(typeof(window.parent.submitCallbackFailed)=='function'){
				window.parent.submitCallbackFailed(responseData.extraData);
	    	}
		}
	}catch(e){
		alert("提交返回数据结果错误  "+e);
	}
</script>